SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 60175: The Score Code Export Node returns "ERROR: ScoreXML: Unable to determine Code variable dependencies. SYSERR= 4"

DetailsHotfixAboutRate It

In SAS® Enterprise Miner, the Score Code Export Node might return the following error message:

   ERROR: ScoreXML: Unable to determine Code variable dependencies. SYSERR= 4
   ERROR: ScoreXML: Terminating because of previous errors. SYSCC= 4

These errors occur when the SAS Score Code variable levels include an ampersand enclosed in quotation marks, “&”.  For example, the log might include lines like the following:

121 +        WHEN ( "A" ) _I11_1 = 1;
MPRINT(SCOREXML):   WHEN ( "A" ) _I11_1 = 1;
122 +        WHEN ( "B" ) _I11_2 = 1;
MPRINT(SCOREXML):   WHEN ( "B" ) _I11_2 = 1;
123 +        WHEN ( "C&D &E" ) _I11_3 = 1;
WARNING: Apparent symbolic reference D not resolved.
WARNING: Apparent symbolic reference E not resolved.
MPRINT(SCOREXML):   WHEN ( "C&D &E" ) _I11_3 = 1;
124 +        WHEN ( "F" ) _I11_4 = 1;
MPRINT(SCOREXML):   WHEN ( "F" ) _I11_4 = 1;
125 +        WHEN ( "G" ) _I11_5 = 1;
MPRINT(SCOREXML):   WHEN ( "G" ) _I11_5 = 1;
126 +        WHEN ( "H" ) _I11_6 = 1;
MPRINT(SCOREXML):   WHEN ( "H" ) _I11_6 = 1;
127 +        OTHERWISE DO;
MPRINT(SCOREXML):   OTHERWISE DO;

If the log includes such lines, then the following errors occur at the bottom of the log:

   ERROR: ScoreXML: Unable to determine Code variable dependencies. SYSERR= 4
   ERROR: ScoreXML: Terminating because of previous errors. SYSCC= 4

The workaround is to remove the ampersand from the original data and replace it with another character (for example, a plus sign (+)).  Ampersands are typically used in SAS® Macro coding and using them as character values in a SAS data set might return unexpected results.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise MinerMicrosoft® Windows® for x6414.114.39.4 TS1M39.4 TS1M5
Microsoft Windows 8 Enterprise x6414.114.39.4 TS1M39.4 TS1M5
Microsoft Windows 8 Pro x6414.114.39.4 TS1M39.4 TS1M5
Microsoft Windows 8.1 Enterprise x6414.114.39.4 TS1M39.4 TS1M5
Microsoft Windows 8.1 Pro x6414.114.39.4 TS1M39.4 TS1M5
Microsoft Windows 1014.114.39.4 TS1M39.4 TS1M5
Microsoft Windows Server 2012 Datacenter14.114.39.4 TS1M39.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter14.114.39.4 TS1M39.4 TS1M5
Microsoft Windows Server 2012 R2 Std14.114.39.4 TS1M39.4 TS1M5
Microsoft Windows Server 2012 Std14.114.39.4 TS1M39.4 TS1M5
Windows 7 Enterprise x6414.114.39.4 TS1M39.4 TS1M5
Windows 7 Home Premium x6414.114.39.4 TS1M39.4 TS1M5
Windows 7 Professional x6414.114.39.4 TS1M39.4 TS1M5
Windows 7 Ultimate x6414.114.39.4 TS1M39.4 TS1M5
64-bit Enabled AIX14.114.39.4 TS1M39.4 TS1M5
64-bit Enabled Solaris14.114.39.4 TS1M39.4 TS1M5
HP-UX IPF14.114.39.4 TS1M39.4 TS1M5
Linux for x6414.114.39.4 TS1M39.4 TS1M5
Solaris for x6414.114.39.4 TS1M39.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.